
gen wwc_occupation = .
replace wwc_occupation = . if V161291b == -1
replace wwc_occupation = 0 if V161291b == 1
replace wwc_occupation = 0 if V161291b == 10
replace wwc_occupation = 0 if V161291b == 11
replace wwc_occupation = 0 if V161291b == 12
replace wwc_occupation = 0 if V161291b == 13
replace wwc_occupation = 0 if V161291b == 14
replace wwc_occupation = 0 if V161291b == 15
replace wwc_occupation = 0 if V161291b == 16
replace wwc_occupation = 0 if V161291b == 17
replace wwc_occupation = 0 if V161291b == 18
replace wwc_occupation = 0 if V161291b == 19
replace wwc_occupation = 0 if V161291b == 2
replace wwc_occupation = 0 if V161291b == 20
replace wwc_occupation = 0 if V161291b == 21
replace wwc_occupation = 0 if V161291b == 22
replace wwc_occupation = 0 if V161291b == 23
replace wwc_occupation = 0 if V161291b == 24
replace wwc_occupation = 0 if V161291b == 25
replace wwc_occupation = 0 if V161291b == 26
replace wwc_occupation = 1 if V161291b == 27
replace wwc_occupation = 1 if V161291b == 28
replace wwc_occupation = 0 if V161291b == 29
replace wwc_occupation = 0 if V161291b == 3
replace wwc_occupation = 0 if V161291b == 30
replace wwc_occupation = 0 if V161291b == 31
replace wwc_occupation = 0 if V161291b == 32
replace wwc_occupation = 0 if V161291b == 33
replace wwc_occupation = 0 if V161291b == 34
replace wwc_occupation = 1 if V161291b == 35
replace wwc_occupation = 0 if V161291b == 36
replace wwc_occupation = 0 if V161291b == 37
replace wwc_occupation = 1 if V161291b == 38
replace wwc_occupation = 1 if V161291b == 39
replace wwc_occupation = 0 if V161291b == 4
replace wwc_occupation = 1 if V161291b == 40
replace wwc_occupation = 1 if V161291b == 41
replace wwc_occupation = 1 if V161291b == 42
replace wwc_occupation = 1 if V161291b == 43
replace wwc_occupation = 1 if V161291b == 44
replace wwc_occupation = 1 if V161291b == 45
replace wwc_occupation = 1 if V161291b == 47
replace wwc_occupation = 1 if V161291b == 49
replace wwc_occupation = 0 if V161291b == 5
replace wwc_occupation = 1 if V161291b == 50
replace wwc_occupation = 1 if V161291b == 51
replace wwc_occupation = 1 if V161291b == 53
replace wwc_occupation = 1 if V161291b == 54
replace wwc_occupation = 1 if V161291b == 55
replace wwc_occupation = 0 if V161291b == 56
replace wwc_occupation = 0 if V161291b == 57
replace wwc_occupation = 1 if V161291b == 58
replace wwc_occupation = 1 if V161291b == 59
replace wwc_occupation = 0 if V161291b == 6
replace wwc_occupation = 1 if V161291b == 60
replace wwc_occupation = 0 if V161291b == 61
replace wwc_occupation = 0 if V161291b == 62
replace wwc_occupation = 1 if V161291b == 63
replace wwc_occupation = 1 if V161291b == 64
replace wwc_occupation = 1 if V161291b == 65
replace wwc_occupation = 1 if V161291b == 66
replace wwc_occupation = 1 if V161291b == 67
replace wwc_occupation = 1 if V161291b == 68
replace wwc_occupation = 0 if V161291b == 7
replace wwc_occupation = 1 if V161291b == 70
replace wwc_occupation = 1 if V161291b == 71
replace wwc_occupation = 1 if V161291b == 72
replace wwc_occupation = 1 if V161291b == 73
replace wwc_occupation = 1 if V161291b == 74
replace wwc_occupation = 1 if V161291b == 75
replace wwc_occupation = 1 if V161291b == 76
replace wwc_occupation = 1 if V161291b == 77
replace wwc_occupation = 1 if V161291b == 78
replace wwc_occupation = 1 if V161291b == 79
replace wwc_occupation = 1 if V161291b == 80
replace wwc_occupation = 1 if V161291b == 81
replace wwc_occupation = 1 if V161291b == 82
replace wwc_occupation = 1 if V161291b == 83
replace wwc_occupation = 1 if V161291b == 84
replace wwc_occupation = 1 if V161291b == 85
replace wwc_occupation = 0 if V161291b == 86
replace wwc_occupation = 0 if V161291b == 87
replace wwc_occupation = 1 if V161291b == 88
replace wwc_occupation = 1 if V161291b == 89
replace wwc_occupation = 0 if V161291b == 9
replace wwc_occupation = 1 if V161291b == 90
replace wwc_occupation = 1 if V161291b == 91
replace wwc_occupation = 1 if V161291b == 92
replace wwc_occupation = 1 if V161291b == 93
replace wwc_occupation = 1 if V161291b == 94
replace wwc_occupation = 0 if V161291b == 95
replace wwc_occupation = 0 if V161291b == 97
replace wwc_occupation = . if V161291b == 98
replace wwc_occupation = . if V161291b == 99

